/*@import url('widgets.css');*/

/* FORM ROWS */
#content-main form {
    padding-top: 30px;
}
.form-row {
    overflow: hidden;
    padding: 8px 12px;
    font-size: 11px;
    border-bottom: 1px solid #eee;
}

.form-row img, .form-row input {
    vertical-align: middle;
}

form .form-row p {
    padding-left: 0;
    font-size: 11px;
}

/* FORM LABELS */

form h4 {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

label {
    font-weight: normal !important;
    color: #666;
    font-size: 12px;
}

.required label, label.required {
    font-weight: bold !important;
    color: #333 !important;
}

/* RADIO BUTTONS */

form ul.radiolist li {
    list-style-type: none;
}

form ul.radiolist label {
    float: none;
    display: inline;
}

form ul.inline {
    margin-left: 0;
    padding: 0;
}

form ul.inline li {
    float: left;
    padding-right: 7px;
}

/* ALIGNED FIELDSETS */

.aligned label {
    display: block;
    padding: 3px 10px 0 0;
    float: left;
    width: 8em;
}

.aligned ul label {
    display: inline;
    float: none;
    width: auto;
}

.colMS .aligned .vLargeTextField, .colMS .aligned .vXMLLargeTextField {
    width: 350px;
}

form .aligned p, form .aligned ul {
    margin-left: 7em;
    padding-left: 30px;
}

label[for=id_aditionalthings_fk_0] {
    display:inline;
    width:90%;
    float: left;
}

ul#id_aditionalthings {
    padding-top: 15px;
    margin-left: 0px!important;
    padding-left: 5px!important;
    list-style-type: none;
}


form .aligned table p {
    margin-left: 0;
    padding-left: 0;
}

form .aligned p.help {
    padding-left: 38px;
}

.aligned .vCheckboxLabel {
    float: none !important;
    display: inline;
    padding-left: 4px;
}

.colM .aligned .vLargeTextField, .colM .aligned .vXMLLargeTextField {
    width: 610px;
}

.checkbox-row p.help {
    margin-left: 0;
    padding-left: 0 !important;
}

fieldset .field-box {
    float: left;
    margin-right: 20px;
}

/* WIDE FIELDSETS */

.wide label {
    width: 15em !important;
}

form .wide p {
    margin-left: 15em;
}

form .wide p.help {
    padding-left: 38px;
}

.colM fieldset.wide .vLargeTextField, .colM fieldset.wide .vXMLLargeTextField {
    width: 450px;
}

/* COLLAPSED FIELDSETS */

fieldset.collapsed * {
    display: none;
}

fieldset.collapsed h2, fieldset.collapsed {
    display: block !important;
}

fieldset.collapsed h2 {
    background-image: url(../img/admin/nav-bg.gif);
    background-position: bottom left;
    color: #999;
}

fieldset.collapsed .collapse-toggle {
    background: transparent;
    display: inline !important;
}

/* MONOSPACE TEXTAREAS */

fieldset.monospace textarea {
    font-family: "Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace;
}

/* SUBMIT ROW */

.submit-row {
    padding: 5px 7px;
    text-align: right;
    background: white url(../img/admin/nav-bg.gif) 0 100% repeat-x;
    border-right-color: #CCCCCC;
    border-right-style: solid;
    border-right-width: 1px;
    border-left-color: #CCCCCC;
    border-left-style: solid;
    border-left-width: 1px;
    border-bottom-color: #CCCCCC;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    margin: 0;
    overflow: hidden;
}

.submit-row input {
    margin: 0 0 0 5px;
}

.submit-row p {
    margin: 0.3em;
}

.submit-row p.deletelink-box {
    float: left;
}

.submit-row .deletelink {
    background: url(../img/admin/icon_deletelink.gif) 0 50% no-repeat;
    padding-left: 14px;
}

/* CUSTOM FORM FIELDS */

.vSelectMultipleField {
    vertical-align: top !important;
}

.vCheckboxField {
    border: none;
}


.flatpages-flatpage #id_content {
    height: 40.2em;
}

/* INLINES */

.inline-group {
    padding: 0;
    margin-top: 10px;
}

.inline-group .aligned label {
    width: 8em;
}

.inline-related {
    position: relative;
}

.inline-related h3 {
    margin: 0;
    color: #666;
    padding: 3px 5px;
    font-size: 11px;
    background: #e1e1e1 url(../img/admin/nav-bg.gif) top left repeat-x;
    border-bottom: 1px solid #ddd;
}

.inline-related h3 span.delete {
    float: right;
}

.inline-related h3 span.delete label {
    margin-left: 2px;
    font-size: 11px;
}

.inline-related fieldset {
    margin: 0;
    background: #fff;
    border: none;
}

.inline-related fieldset.module h3 {
    margin: 0;
    padding: 2px 5px 3px 5px;
    font-size: 11px;
    text-align: left;
    font-weight: bold;
    background: #bcd;
    color: #fff;
}

.inline-group .tabular fieldset.module {
    border: none;
    border-bottom: 1px solid #ddd;
}

.inline-related.tabular fieldset.module table {
    width: 100%;
}

.last-related fieldset {
    border: none;
}

.inline-group .tabular tr.has_original td {
    padding-top: 2em;
}

.inline-group .tabular tr td.original {
    padding: 2px 0 0 0;
    width: 0;
    _position: relative;
}

.inline-group .tabular th.original {
    width: 0px;
    padding: 0;
}

.inline-group .tabular td.original p {
    position: absolute;
    left: 0;
    height: 1.1em;
    padding: 2px 7px;
    overflow: hidden;
    font-size: 9px;
    font-weight: bold;
    color: #666;
    _width: 700px;
}

.inline-group ul.tools {
    padding: 0;
    margin: 0;
    list-style: none;
}

.inline-group ul.tools li {
    display: inline;
    padding: 0 5px;
}

.empty-form {
    display: none;
}

/* IE7 specific bug fixes */

.submit-row input {
    float: right;
}

/* Custom for bootstrap */
.input-append {
    white-space: none !important;
}
#myTab {
    margin-bottom: 0;
}

.tab-content {
    border-left-color: #DDDDDD;
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: #DDDDDD;
    border-right-style: solid;
    border-right-width: 1px;
}

div.errors {
    background-color: #FFFFCC;
}

.errors input, 
.errors select, 
.errors textarea {
    border-color: red !important;
}

.errors > ul.errorlist {
    color: red;
    list-style: none;
}

.img-circle {
    background: #CCC;
}

div.form-row + .slug,
span.delete {
    display: none !important;
}
/* Custom for tinymce */
.description label[for=id_description],
.content label[for=id_content],
.text label[for=id_text] {
    float: none;
}

/* Custom for bootstrap-fileupload */
.photos-btn {
    margin-left: 9.6em;
}
.inline-related .breadcrumb .btn {
    margin-top: -0.4em;
}

.accordion-body.in {
  overflow:visible;
}
.thumbnail,
ul.thumbnails li {
    width: 160px !important;
}

@media (max-width: 800px) {
    .fileupload > .thumbnail {
        width: 160px !important;
        height: 120px !important;
    }

}
@media (min-width: 320px){
    #time-widget input, 
    #date-widget input {
    width: 106px;
    }
}

@media (max-width: 320px){

    form .aligned p.help {
        padding-left: 0;
        margin-left: 0;
    }
    .form-row {
        padding-left: 8px;
        padding-right: 2px;
    }
    #content-main .form-row input {
        width: auto;
    }
    #content-main .form-row select {
        width: 156px;
    }
    .ui-helper-clearfix {
        display: inline-block;
    }
    .photos-btn {
        margin-left: 0;
    }
    #date-widget input {
        width: 140px !important;
    }
    .aligned label {
        padding-right: 78px;
    }
    .bootstrap-datetimepicker-widget.pull-right:after,
    .bootstrap-datetimepicker-widget:after {
        right: 51px !important;
    }
    .bootstrap-datetimepicker-widget.pull-right:before
    .bootstrap-datetimepicker-widget:before {
        right: 50px !important;
    }
    .bootstrap-datetimepicker-widget.pull-right,
    .bootstrap-datetimepicker-widget{
        left: 16px !important;
    }
    
}
